Skip to content
Back to exploration
Calculus · English

Product rule | Derivative rules | AP Calculus AB | Khan Academy

Learn the derivative product rule and complete the example x² sin x, with bilingual notes, differentiability conditions and radians clarified.

Reviewed learning material · Video analysis · English

Apply the product rule to differentiate a product of two functions: differentiate one factor, keep the other, then add the complementary term. Khan Academy demonstrates the complete example x² sin x, obtaining 2x sin x+x² cos x with consistent colors for the two factors. The lesson teaches application rather than a proof of the general rule. Editorial notes state the differentiability conditions and the use of radians for trigonometric derivatives.

Before you watch

  • Basic understanding of what a derivative is.
  • Knowledge of how to differentiate simple power functions (like x^n) and trigonometric functions (like sin(x)).
  • Power Rule
  • Derivatives of Trigonometric Functions

Chapters

0:00Introduction to the Product Rule0:13The Product Rule Formula0:58Applying the Product Rule: An Example1:20Continue the worked example1:30Identifying f(x) and g(x)1:50Finding Individual Derivatives2:08Applying the Product Rule2:30Final Simplified Answer

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

Introduce the product rule as a tool for differentiating products. This lesson will apply the rule without proving the general theorem.

When f and g are differentiable at the point, differentiate one factor at a time: f'g+fg'. Keep the other factor unchanged in each term, and then add the terms.

Set up the example x² sin x as a product of the squared function and sine; the following part of the same video completes the calculation.

Continue differentiating x2sin⁡xx^2 \sin x, using ddx[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x).

Choose f(x)=x2f(x) = x^2 in pink and g(x)=sin⁡xg(x) = \sin x in green.

The power rule gives f′(x)=2xf'(x) = 2x, and, with x in radians, the sine derivative gives g′(x)=cos⁡xg'(x) = \cos x.

Substitute the two pairs: f′(x)g(x)f'(x)g(x) becomes (2x)(sin⁡x)(2x)(\sin x), and f(x)g′(x)f(x)g'(x) becomes (x2)(cos⁡x)(x^2)(\cos x).

The final result is 2xsin⁡x+x2cos⁡x2x \sin x + x^2 \cos x. The two colors track where the original factors and derivatives appear.

Knowledge cards

01

Product Rule Formula

For f and g differentiable at the point, differentiate one factor at a time while retaining the other, then add the two terms.

ddx[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)
02

Example Setup: Derivative of x^2 sin(x)

Split x² sin x into f(x)=x² and g(x)=sin x. This setup interval identifies the factors; the full video then computes both derivatives and the final answer.

03

Product Rule Formula

The product rule applies when both factors are differentiable at the point; its two summands keep the undifferentiated partner factor.

ddx[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)
04

Example: Derivative of x^2 sin(x)

Let f(x)=x2f(x) = x^2 and g(x)=sin⁡xg(x) = \sin x. Then f′(x)=2xf'(x) = 2x and, using radians, g′(x)=cos⁡xg'(x) = \cos x. The rule gives (2x)(sin⁡x)+(x2)(cos⁡x)(2x)(\sin x) + (x^2)(\cos x), or 2xsin⁡x+x2cos⁡x2x \sin x + x^2 \cos x.

ddx[x2sin⁡x]=2xsin⁡x+x2cos⁡x\frac{d}{dx}[x^2 \sin x] = 2x \sin x + x^2 \cos x
05

Derivative of Sine

With the argument measured in radians, the derivative of sine is cosine.

ddx(sin⁡x)=cos⁡x\frac{d}{dx}(\sin x) = \cos x

Detailed learning notes

Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.

Symbols · 13

f(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    f(x) is written in pink.

  2. Audio
    Observation

    Narration identifies f as the first factor.

Symbol

f(x)

Meaning

The first function in the product.

Domain

Unspecified in the video.

g(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    g(x) is written in green.

  2. Audio
    Observation

    Narration identifies g as the second factor.

Symbol

g(x)

Meaning

The second function in the product.

Domain

Unspecified in the video.

d/dx

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    d/dx is written in white.

  2. Audio
    Observation

    The presenter introduces the operation of differentiating the product.

Symbol

d/dx

Meaning

The derivative operator with respect to x.

Domain

Applied to functions of x.

f'(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    f'(x) is written in pink.

  2. Audio
    Observation

    The presenter differentiates the first factor.

Symbol

f'(x)

Meaning

The derivative of f(x) with respect to x.

Domain

Unspecified in the video.

g'(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    g'(x) is written in green.

  2. Audio
    Observation

    The presenter differentiates the second factor.

Symbol

g'(x)

Meaning

The derivative of g(x) with respect to x.

Domain

Unspecified in the video.

x^2

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    x^2 is written in white.

  2. Audio
    Observation

    The first example factor is introduced as x squared.

Symbol

x^2

Meaning

A specific function used in an example.

Domain

Unspecified in the video.

\sin x

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    sin x is written in white.

  2. Audio
    Observation

    The other example factor is introduced as the sine function.

Symbol

\sin x

Meaning

A specific trigonometric function used in an example.

Domain

Unspecified in the video.

\frac{d}{dx}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The operator ddx\frac{d}{dx} is written in yellow at the top and used for the example.

Symbol

\frac{d}{dx}

Meaning

Derivative with respect to x

Domain

Calculus

f(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    f(x)f(x) appears in the product rule formula and is assigned to x2x^2.

Symbol

f(x)

Meaning

First function in the product rule; set to x2x^2 in the example

Domain

Real-valued functions

g(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    g(x)g(x) appears in the product rule formula and is assigned to sin⁡x\sin x.

Symbol

g(x)

Meaning

Second function in the product rule; set to sin⁡x\sin x in the example

Domain

Real-valued functions

f'(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    f′(x)f'(x) appears in the product rule formula and is calculated as 2x2x.

Symbol

f'(x)

Meaning

Derivative of f(x)f(x)

Domain

Real-valued functions

g'(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    g′(x)g'(x) appears in the product rule formula and is calculated as cos⁡x\cos x.

Symbol

g'(x)

Meaning

Derivative of g(x)g(x)

Domain

Real-valued functions

Knowledge points · 5

Product Rule Formula

Clear evidence
Supplementary explanation
Evidence
  1. Formula
    Observation

    The formula d/dx[f(x)g(x)] = f'(x)g(x) + f(x)g'(x) is written on the screen.

  2. Audio
    Observation

    The narration explains the two additive terms by differentiating one factor at a time.

Formula
Explanation

The product rule states that the derivative of a product of two functions is equal to the derivative of the first function multiplied by the second function, plus the first function multiplied by the derivative of the second function.

Formula
ddx[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)
Conditions
  1. Both f and g are differentiable at the point where the derivative is taken.

Derivative Notation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The notation d/dx is used.

  2. Audio
    Observation

    Narration introduces differentiation with respect to the variable.

Definition
Explanation

The notation d/dx represents the operation of taking the derivative of a function with respect to the variable x.

Formula
ddx\frac{d}{dx}

Product Rule Formula

Clear evidence
Supplementary explanation
Evidence
  1. Formula
    Observation

    The general product rule formula is written at the top of the screen.

  2. Audio
    Observation

    The presenter proceeds from the general rule to the worked example.

Formula
Explanation

The derivative of a product of two functions is the derivative of the first times the second plus the first times the derivative of the second.

Formula
ddx[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)
Conditions
  1. Both f and g are differentiable at the point where the derivative is taken.

Power Rule

Clear evidence
Supplementary explanation
Evidence
  1. Audio
    Observation

    The power rule is used to differentiate the squared factor.

  2. Formula
    Observation

    f′(x)=2xf'(x) = 2x is written.

Method
Explanation

Used to find the derivative of xnx^n, resulting in nxn−1nx^{n-1}. Applied here to find the derivative of x2x^2.

Formula
ddx(xn)=nxn−1\frac{d}{dx}(x^n) = nx^{n-1}
Conditions
  1. For arbitrary real n, the displayed power rule applies on x>0.

  2. In this example n=2, so the polynomial derivative is valid for every real x.

Derivative of Sine Function

Clear evidence
Supplementary explanation
Evidence
  1. Audio
    Observation

    The presenter uses cosine for the derivative of sine.

  2. Formula
    Observation

    g′(x)=cos⁡xg'(x) = \cos x is written.

Formula
Explanation

The derivative of the sine function with respect to x is the cosine function.

Formula
ddx(sin⁡x)=cos⁡x\frac{d}{dx}(\sin x) = \cos x
Conditions
  1. The argument x is measured in radians.

Claims and conditions · 1

Scope of the Video

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The presenter states the lesson will demonstrate use of the rule rather than prove it.

Proposition
Statement

The video will not provide a proof for the product rule, but will focus on its application.

Quantifiers

None

Derivations and proofs · 1

Worked derivation for the derivative of x² sin x

Clear evidence
Supplementary explanation
Evidence
  1. Audio
    Observation

    The narration follows the substitution of both factors and both derivatives into the rule.

  2. Formula
    Observation

    Step-by-step writing of the solution on the blackboard.

Intuitive argument
Steps
  1. Expression
    ddx[x2sin⁡x]\frac{d}{dx}[x^2 \sin x]
    Explanation

    Identify the problem as finding the derivative of a product.

    Justification

    Given expression.

    Shown in the video
  2. Expression
    f(x)=x2,g(x)=sin⁡xf(x) = x^2, g(x) = \sin x
    Explanation

    Assign the individual functions to match the product rule structure.

    Justification

    Definition of product rule components.

    Shown in the video
  3. Expression
    f′(x)=2xf'(x) = 2x
    Explanation

    Calculate the derivative of the first function.

    Justification

    Power rule.

    Shown in the video
  4. Expression
    g′(x)=cos⁡xg'(x) = \cos x
    Explanation

    Calculate the derivative of the second function.

    Justification

    The power rule gives the squared-factor derivative; the sine derivative uses radians.

    Supplementary explanation
  5. Expression
    f′(x)g(x)+f(x)g′(x)f'(x)g(x) + f(x)g'(x)
    Explanation

    Write out the product rule formula with the specific functions.

    Justification

    Product rule formula.

    Shown in the video
  6. Expression
    (2x)(sin⁡x)+(x2)(cos⁡x)(2x)(\sin x) + (x^2)(\cos x)
    Explanation

    Substitute the calculated derivatives and original functions into the formula.

    Justification

    Algebraic substitution.

    Shown in the video
  7. Expression
    2xsin⁡x+x2cos⁡x2x \sin x + x^2 \cos x
    Explanation

    Simplify the expression by removing parentheses.

    Justification

    Algebraic simplification.

    Shown in the video
Conclusion

The derivative of x2sin⁡xx^2 \sin x is 2xsin⁡x+x2cos⁡x2x \sin x + x^2 \cos x. The video concludes with this final expression.

Worked examples · 2

Setting up a Product Rule Example

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The expression x^2 \sin x is written on the screen.

  2. Audio
    Observation

    The presenter chooses a squared factor multiplied by sine as the example.

Uncertainties
  1. This 63–79-second setup interval precedes the worked calculation, which is completed later in the same full video.

Problem

Find the derivative of the function x^2 \sin x using the product rule.

Given
  1. The function is f(x) = x^2 \sin x.

Goal

Set up the application of the product rule to find the derivative.

Steps
  1. Expression
    x2sin⁡xx^2 \sin x
    Explanation

    Identify the function as a product of two terms, x^2 and \sin x.

    Justification

    Observation from the video.

    Shown in the video
Answer

This interval selects the two factors; the full continuation computes the derivative.

Verification

The selected factors multiply to the displayed example function.

Applying Product Rule to x^2 sin x

Clear evidence
Supplementary explanation
Evidence
  1. Audio
    Observation

    Narration completes the example through substitution and simplification.

  2. Formula
    Observation

    All mathematical steps are written on the screen.

Problem

Find the derivative of x2sin⁡xx^2 \sin x.

Given
  1. Function to differentiate: x2sin⁡xx^2 \sin x

  2. Product rule formula

  3. Both f and g are differentiable at the point where the derivative is taken.

  4. Use radians for the sine argument.

Goal

Compute ddx[x2sin⁡x]\frac{d}{dx}[x^2 \sin x].

Steps
  1. Expression
    f(x)=x2,g(x)=sin⁡xf(x) = x^2, g(x) = \sin x
    Explanation

    Decompose the product into two functions.

    Justification

    Structure of the product rule.

    Shown in the video
  2. Expression
    f′(x)=2x,g′(x)=cos⁡xf'(x) = 2x, g'(x) = \cos x
    Explanation

    Differentiate each function separately.

    Justification

    The power rule gives the squared-factor derivative; the sine derivative uses radians.

    Supplementary explanation
  3. Expression
    ddx[x2sin⁡x]=(2x)(sin⁡x)+(x2)(cos⁡x)\frac{d}{dx}[x^2 \sin x] = (2x)(\sin x) + (x^2)(\cos x)
    Explanation

    Apply the product rule formula.

    Justification

    Product rule.

    Shown in the video
  4. Expression
    =2xsin⁡x+x2cos⁡x= 2x \sin x + x^2 \cos x
    Explanation

    Simplify the result.

    Justification

    Algebra.

    Shown in the video
Answer

2x \sin x + x^2 \cos x

Verification

The result matches the final expression written on the board at the end of the clip.

Visual events · 2

Writing the Product Rule Formula

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    The formula for the product rule is written out step-by-step on a black background. Different parts of the formula are color-coded (pink for f(x) and f'(x), green for g(x) and g'(x), white for operators and other symbols).

Objects
  1. Text 'Product Rule'

  2. Formula d/dx[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)

Changes
  1. The formula is progressively written on the screen.

Invariants
  1. The black background remains constant.

Interpretation

The visual presentation breaks down the components of the product rule formula, using color coding to distinguish between the two functions and their derivatives.

Color-Coded Variable Tracking

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Functions and their derivatives are color-coded (pink for f, green for g) throughout the explanation.

Objects
  1. f(x) and its derivative

  2. g(x) and its derivative

Changes
  1. Colors are consistently applied to identify which parts of the formula correspond to which functions.

Invariants
  1. The color association remains constant from definition to final substitution.

Interpretation

Visual aid to help students track the components of the product rule during substitution.

Concept relations · 3

Derivative Notation → Product Rule Formula

Clear evidence
Supplementary explanation
Evidence
  1. Audio
    Observation

    The explanation uses derivative notation throughout.

Prerequisite
Explanation

Understanding the basic concept of a derivative is a prerequisite for understanding the product rule.

Power Rule → Worked derivation for the derivative of x² sin x

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    The presenter invokes the power rule to obtain the first factor derivative.

Application
Explanation

The power rule is a prerequisite method used within the larger derivation.

Derivative of Sine Function → Worked derivation for the derivative of x² sin x

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    The presenter uses the standard sine derivative for the other factor.

Application
Explanation

The standard derivative of sine is a prerequisite fact used within the larger derivation.

Find an answer · 4

What is the product rule for derivatives?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The presenter introduces the product rule.

Knowledge points
  1. Product Rule Formula

How do you apply the product rule to a function like x^2 sin(x)?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The presenter moves from the rule to an example.

Knowledge points
  1. Product Rule Formula
  2. Setting up a Product Rule Example

How do you apply the product rule to find the derivative of a function like x^2 sin(x)?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The example demonstrates the complete application of the rule.

Knowledge points
  1. Product Rule Formula
  2. Worked derivation for the derivative of x² sin x
  3. Applying Product Rule to x^2 sin x

What is the derivative of sin(x)?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    g'(x) = cos x is written.

Knowledge points
  1. Derivative of Sine Function
Coverage and review notes

Covered · Introduction to the topic and scope of the video.

Covered · Statement and explanation of the product rule formula.

Covered · Setting up an example problem to apply the product rule.

Covered · The entire clip covers the statement of the product rule and its step-by-step application to a specific example.

Explore the knowledge in this video

Open video knowledge graph →

  • Derivatives Explanation
    Why this connection?

    Apply the product rule to differentiate a product of two functions: differentiate one factor, keep the other, then add the complementary term. Khan Academy demonstrates the complete example x² sin x, obtaining 2x sin x+x² cos x with consistent colors for the two factors. The lesson teaches application rather than a proof of the general rule. Editorial notes state the differentiability conditions and the use of radians for trigonometric derivatives.