STEP III 1997 question 6 solution - The Student Room
The Student Room

STEP III 1997 question 6 solution

TSR Wiki > Study Help > Subjects and Revision > Mathematics > STEP > STEP III 1997 question 6 solution


Solution 1

If x = \cos \theta then \displaystyle \frac{d}{d\theta} = \frac{dx}{d\theta}\frac{d}{dx} = -\sin \theta \frac{d}{dx}.

So \displaystyle \frac{dy_n}{d\theta} = - \sin \theta \frac{dy_n}{dx}, \frac{d^2y_n}{d\theta^2} = \sin^2 \theta \frac{d^2y_n}{dx^2} - \cos\theta \frac{dy_n}{dx} = (1-x^2)\frac{d^2y_n}{dx^2} - x \frac{dy_n}{dx}

So \displaystyle \frac{d^2y_n}{d\theta^2} + n^2 y_n = 0 as desired.

This has general solution y_n = A_n \cos n\theta + B_n \sin n\theta.

y_n(1) = 1 \implies y_n(\cos 0) = 1 \implies A_n = 1.

To use the 2nd boundary condition, observe -\cos \theta = \cos(\pi - \theta) and so we have:

 \cos n\theta + B_n \sin n\theta = (-1)^n (\cos n(\pi-\theta) + \sin n(\pi-\theta))

RHS = (-1)^n(\cos n\pi \cos n\theta -\cos n\pi \sin n\theta) = \cos n\theta - B_n \sin n\theta and so B_n = 0.

So y_n = \cos n \theta (which is also \cos(n \arccos x)). Finally, we need to show:

 \cos(n+1)\theta - 2\cos \theta \cos n\theta + \cos(n-1)\theta = 0.

But \cos(n+1)\theta = \cos n\theta \cos \theta - \sin n \theta \sin \theta, \cos(n-1)\theta = \cos n\theta \cos \theta + \sin n \theta \sin \theta, hence result.

Solution by DFranklin

Solution 2

(1)\\ \displaystyle \frac{dy_{n}}{dx} = \frac{dy_{n}}{d\theta}\times \frac{d\theta}{dx}\\ =\frac{dy_{n}}{d\theta}\times\frac{1}{-\sin\theta}

Differentiate (1) to get (2):

\displaystyle \frac{d^{2}y_{n}}{dx^2}=\frac{d^{2}y_{n}}{d\theta^2}\times\frac{1}{\sin^2\theta}-\frac{dy_{n}}{d\theta}\times\frac{\cos\theta}{\sin^3\theta}

Substitute (1), (2) and \displaystyle x=\cos\theta into \displaystyle (1-x^2)\frac{d^{2}y_{n}}{dx^2}-x\frac{dy_{n}}{dx}+n^2y_{n}=0 to get \displaystyle \frac{d^2y}{d\theta^2}+n^2y_{n}=0\text{  as required  }

The general solution of this linear homogeneous second order differential equation is \displaystyle y_{n}(\theta)=A\cos n\theta+B\sin n\theta We are given y(1)=1, hence after the tranformation of \displaystyle x=\cos\theta above, we have the boundary condition y(0)=1 which results in A=1. Furthermore, we are given \displaystyle y_{n}(x)=(-1)^ny_{n}(-x) which really means that \displaystyle y_{n}(x) is an even function when n is either 0 or even. And that it's an odd function when n is odd. But after the substitution of \displaystyle x=\cos\theta, \displaystyle y_{n}(\theta) becomes an even function for all n since cosine is an even function.

We have \displaystyle \\y_{n}(\theta)=A\cos n\theta+B\sin n\theta\\y_{n}(-\theta)=A\cos n\theta-B\sin n\theta which can only be even for all n when B=0

\displaystyle \therefore y_{n}(\theta)=\cos n\theta and \displaystyle y_{n}(x)=\cos (n\arccos x) for \displaystyle |x|\leq1

It follows that \displaystyle y_{0}(x)=\cos 0 =1 and \displaystyle y_{1}(x)=\cos(\arccos x)=x as required.

\displaystyle \\y_{n}(x)=\cos (n\arccos x)\\y_{n-1}(x)=\cos\{(n\arccos x)-(\arccos x)\}\\y_{n+1}(x)=\cos\{(n\arccos x)+(\arccos x)\}

Upon expanding with Trigonometric Addition Formulas and adding \displaystyle y_{n+1}(x) and \displaystyle y_{n-1}(x):

\displaystyle \\y_{n+1}(x)+y_{n-1}(x)=2x\cos (n\arccos x)\\y_{n+1}(x)+y_{n-1}(x)=2xy_{n}(x)\\y_{n+1}(x)-2xy_{n}(x)+y_{n-1}(x)=0 as shown.

Solution by khaixiang

Discussions Toggle
Do you think the British forces should get involved with Syria?
started by: lsaul95
forum: International
replies: 100
last post: 1 Minute Ago
Annoying Types of Twitter User
started by: ROYP
forum: Friends, Family and Work
replies: 18
last post: 1 Minute Ago
The African Society Part VII
started by: The Cornerstone
forum: International Lounge
replies: 7100
last post: 1 Minute Ago
St. Andrews Medical School Applicants 2012
started by: baztech
forum: Medical Schools
replies: 886
last post: 2 Minutes Ago
Mistake on student finance application VIA the directgov website
started by: maxb123
forum: Applications and UCAS
replies: 7
last post: 2 Minutes Ago
Housemate is denying he told me he cheated
started by: Anonymous
forum: Friends, Family and Work
replies: 17
last post: 2 Minutes Ago
How much is a Nandos Franchise?
started by: Bill_Gates
forum: Money and Finance
replies: 12
last post: 3 Minutes Ago
League of Legends thread
started by: headbuster
forum: Gaming
replies: 399
last post: 3 Minutes Ago
Anyone else find the grants unfair?
started by: Claudine
forum: Student Financial Support
replies: 188
last post: 4 Minutes Ago
Is this a good way to send a message to your kids?
started by: Agenda Suicide
forum: Society
replies: 21
last post: 4 Minutes Ago
God cannot know everything. Carnal love, reproduction or sex.
started by: Greatest I am
forum: Religion
replies: 30
last post: 5 Minutes Ago
So is this what it's like from now on?
started by: Rascacielos
forum: Student Life
replies: 42
last post: 6 Minutes Ago
How do you motivate yourself to get up in the morning?
started by: Lewk
forum: Student Life
replies: 57
last post: 6 Minutes Ago
Should there be legislation imposing a quota on women being on boards of companies?
started by: Herr
forum: UK Politics
replies: 20
last post: 6 Minutes Ago
UCL postgraduate applicants 2012/3
started by: teludaa
forum: Postgraduate
replies: 465
last post: 6 Minutes Ago
what to do on valentine in london...
started by: destination unknown
forum: Advice on Everyday Issues
replies: 9
last post: 7 Minutes Ago
What are you listening to now? V
started by: tehforum
forum: Music
replies: 711
last post: 7 Minutes Ago
Blackpool nightout on a Tuesday
started by: Andy6691
forum: Travel
replies: 0
last post: 8 Minutes Ago
TSR Town on Minecraft
started by: jermaindefoe
forum: Gaming
replies: 1517
last post: 8 Minutes Ago
Help me shed a few pounds
started by: Megaross
forum: Fitness
replies: 3
last post: 9 Minutes Ago
Article Updates Toggle
Contact Us | Site Rules | Staying Safe on TSR | Advertising | Staff Blog | Essays & Coursework | Terms & Conditions | Top
Customise your TSR | Life Advice | Hobbies and Interests | Debate and Current Affairs | Study Help | University and University courses
Universities and HE Colleges | Careers, Employment and Gap Years | General Discussion

Customise your TSR