If y = 2^x, find dy/dx

Q: If y = 2^x, find dy/dx.


1) Take Logs of both sides of our equation y = 2^x 

So we get: log(y)=log(2^x)

2) Apply relevant log rule to rhs: Log rule: log(a^b) = b . log(a)

[nb: the dot between b and log(a) represents x / multiply / times] :) 

So we get: log(y) = x . log(2)

3) Differentiate both sides with respect to x. 

LHS: log(y) => (1/y)(dy/dx) [partial differentiation hence we multiply (1/y) by dy/dx]

RHS: x . log(2) => log(2) [log(2) is a constant so x dissapears]

So we get: (1/y)(dy/dx) = log(2)

4) We want to find dy/dx, which is on the LHS. To get this dy/dx on its own we can multiply both sides by y. 

So we get: dy/dx = y . log(2)

5) To finish this question we need to sub in for y and then we have an answer for dy/dx. 

Recall y=2^x (from our original question)

So we get: dy/dx = (2^x)(log(2)) => our final solution 

Bav M. A Level Economics tutor, A Level Maths tutor

2 years ago

Answered by Bav, an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£22 /hr

Sam F.

Degree: Economics with Placement (Bachelors) - Bath University

Subjects offered:Maths, Physics+ 2 more

Extended Project Qualification

“Studying for BSc Hons Economics, A level economics, maths and physics. Able to tutor GCSE/AS/A2 Economics, Maths and GCSE physics! ”

£36 /hr

Adam B.

Degree: Economics and Mathematics (Bachelors) - Bristol University

Subjects offered:Maths, Further Mathematics + 1 more

Further Mathematics

“Hi!  I'm an enthuthiastic and motivated tutor with a commitment to developing my student's understanding of concepts within their chosen subjects.  As an Economics and Mathematics undergraduate I am committed to delivering a tailored...”

£36 /hr

Joe B.

Degree: Mathematics G100 (Bachelors) - Bath University

Subjects offered:Maths, Further Mathematics + 4 more

Further Mathematics
-Personal Statements-

“About Me Hi, I'm Joe, a first year mathematics student from Luton studying at Bath University. I am an accomplished mathematician and economist, having achieved A* grades in A Level Maths, Further Maths and Economics in June 2016. As ...”

About the author

£20 /hr

Bav M.

Degree: Maths & Economics (Bachelors) - Leeds University

Subjects offered:Maths, Economics


“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

MyTutor guarantee

You may also like...

Other A Level Maths questions

Integral of sin^x dx

Find the roots of the equation y=x^2-8x+5 by completing the square.

What is the difference between differentiation and integration, and why do we need Calculus at all?

Find the set of values for which x^2 - 7x - 18 >0

View A Level Maths tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss