If y = 2^x, find dy/dx

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

ANSWER: 

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 

BM
Answered by Bav M. Maths tutor

67910 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A curve C has equation y = x^2 − 2x − 24 x^(1/2), x > 0 (a) Find (i) dy/d x (ii) d^2y/dx^2 (b) Verify that C has a stationary point when x = 4 (c) Determine the nature of this stationary point, giving a reason for your answer.


Integrate (2x)(e^x)dx


Find the turning point(s) of the following function f(x) = x^2-2x+4. Determine whether the turning point is a minimum or maximum.


What is the gradient of the function f(x) = 2x^2 + 3x - 7 at the point where x = -2?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning