Differentiation is the process of finding the gradient of a variable function. A variable function is a polynomial function that takes the shape of a curve, so is therefore a function that has an always-changing gradient.
There is a traditional method to differentiate functions, however, we will be concentrating on finding the gradient still through differentiation but from first principles. This means using standard Straight Line Graphs methods of \(\frac{\Delta y}{\Delta x}\) to find the gradient of a function.
How does differentiation from first principles work?
Differentiation from first principles involves using \(\frac{\Delta y}{\Delta x}\) to calculate the gradient of a function. We will have a closer look to the step-by-step process below:
STEP 1: Let \(y = f(x)\) be a function. Pick two points x and \(x+h\).
The coordinates of x will be \((x, f(x))\) and the coordinates of \(x+h\) will be (\(x+h, f(x + h)\)).
STEP 2: Find \(\Delta y\) and \(\Delta x\).
\(\Delta y = f(x+h) - f(x); \Delta x = x+h-x = h\)STEP 3: Complete \(\frac{\Delta y}{\Delta x}\).$$\frac{\Delta y}{\Delta x} = \frac{f(x+h) - f(x)}{h}$$STEP 4: Take a limit:
For the next step, we need to remember the trigonometric identity: \(cos(a +b) = \cos a \cdot \cos b - \sin a \cdot \sin b\).
Using the trigonometric identity, we can come up with the following formula, equivalent to the one above:
\[f'(x) = \lim_{h\to 0} \frac{(\cos x\cdot \cos h - \sin x \cdot \sin h) - \cos x}{h}\]
We can now factor out the \(\cos x\) term:
\[f'(x) = \lim_{h\to 0} \frac{\cos x(\cos h - 1) - \sin x \cdot \sin h}{h} = \lim_{h\to 0} \frac{\cos x(\cos h - 1)}{h} - \frac{\sin x \cdot \sin h}{h}\].
Now we need to change factors in the equation above to simplify the limit later. For this, you'll need to recognise formulas that you can easily resolve.
The equations that will be useful here are: \(\lim_{x \to 0} \frac{\sin x}{x} = 1; and \lim_{x_to 0} \frac{\cos x - 1}{x} = 0\)
If we substitute the equations in the hint above, we get:
\[\lim_{h\to 0} \frac{\cos x(\cos h - 1)}{h} - \frac{\sin x \cdot \sin h}{h} \rightarrow \lim_{h \to 0} \cos x (\frac{\cos h -1 }{h}) - \sin x (\frac{\sin h}{h}) \rightarrow \lim_{h \to 0} \cos x(0) - \sin x (1)\]
\(3x^2\) however the entire proof is a differentiation from first principles.
So differentiation can be seen as taking a limit of a gradient between two points of a function. You will see that these final answers are the same as taking derivatives.
Let's look at another example to try and really understand the concept. This time we are using an exponential function.
Differentiate from first principles \(f(x) = e^x\).
SOLUTION:
Steps
Worked out example
STEP 1: Let y = f(x) be a function. Pick two points x and x + h.
Co-ordinates are \((x, e^x)\) and \((x+h, e^{x+h})\).
STEP 2: Find \(\Delta y\) and \(\Delta x\)
\(\Delta y = e^{x+h} -e^x = e^xe^h-e^x = e^x(e^h-1)\)\(\Delta x = (x+h) - x= h\)
\(e^x\), but of course, the entire proof is an answer as this is differentiation from first principles.
Differentiation from First Principles - Key takeaways
Differentiation is the process of finding the gradient of a curve.
The gradient of a curve changes at all points.
Differentiation can be treated as a limit tending to zero.
The formula to differentiate from first principles is found in the formula booklet and is \(f'(x) = \lim_{h \to 0}\frac{f(x+h)-f(x)}{h}\)
Learn faster with the 0 flashcards about Differentiation from First Principles
Sign up for free to gain access to all our flashcards.
Frequently Asked Questions about Differentiation from First Principles
How do we differentiate from first principles?
We take the gradient of a function using any two points on the function (normally x and x+h).
What is the differentiation from the first principles formula?
The formula is:
limh->0((f(x+h)-f(x))/h)
How do we differentiate a quadratic from first principles?
We simply use the formula and cancel out an h from the numerator. This should leave us with a linear function.
How do we differentiate a trigonometric function from first principles?
We use addition formulae to simplify the numerator of the formula and any identities to help us find out what happens to the function when h tends to 0.
How we ensure our content is accurate and trustworthy?
At StudySmarter, we have created a learning platform that serves millions of students. Meet
the people who work hard to deliver fact based content as well as making sure it is verified.
Content Creation Process:
Lily Hulatt
Digital Content Specialist
Lily Hulatt is a Digital Content Specialist with over three years of experience in content strategy and curriculum design. She gained her PhD in English Literature from Durham University in 2022, taught in Durham University’s English Studies Department, and has contributed to a number of publications. Lily specialises in English Literature, English Language, History, and Philosophy.
Gabriel Freitas is an AI Engineer with a solid experience in software development, machine learning algorithms, and generative AI, including large language models’ (LLMs) applications. Graduated in Electrical Engineering at the University of São Paulo, he is currently pursuing an MSc in Computer Engineering at the University of Campinas, specializing in machine learning topics. Gabriel has a strong background in software engineering and has worked on projects involving computer vision, embedded AI, and LLM applications.
StudySmarter is a globally recognized educational technology company, offering a holistic learning platform designed for students of all ages and educational levels. Our platform provides learning support for a wide range of subjects, including STEM, Social Sciences, and Languages and also helps students to successfully master various tests and exams worldwide, such as GCSE, A Level, SAT, ACT, Abitur, and more. We offer an extensive library of learning materials, including interactive flashcards, comprehensive textbook solutions, and detailed explanations. The cutting-edge technology and tools we provide help students create their own learning materials. StudySmarter’s content is not only expert-verified but also regularly updated to ensure accuracy and relevance.