Trouble seeing the difference between autograder answer and my own

  • Thread starter Thread starter ago01
  • Start date Start date
  • Tags Tags
    Difference
Click For Summary
SUMMARY

The discussion centers on the integral calculation of ##\int \frac{1}{\sqrt{x^2-49}}dx## using trigonometric substitution. The user applied the substitution ##x = 5\sec{\theta}##, leading to the integral ##\int \sec{\theta}d\theta = ln|\sec{\theta} + \tan{\theta}| + C##. The autograder marked the user's answer incorrect, indicating the correct form is ##ln|\frac{1}{7}(\sqrt{x^2-49} + x)| + C##. The discrepancy arises from the properties of logarithms, specifically the factor of 1/7 in the correct answer, which the user failed to account for.

PREREQUISITES
  • Understanding of trigonometric substitution in calculus
  • Familiarity with logarithmic properties and identities
  • Knowledge of integral calculus, specifically integration techniques
  • Experience with autograders and their evaluation criteria
NEXT STEPS
  • Review trigonometric substitution techniques in integral calculus
  • Study properties of logarithms, particularly the product and quotient rules
  • Explore common pitfalls in autograder evaluations and how to address them
  • Practice additional integrals involving square roots and trigonometric functions
USEFUL FOR

Students and educators in calculus, particularly those using autograders for practice quizzes, as well as anyone looking to deepen their understanding of trigonometric integrals and logarithmic properties.

ago01
Messages
46
Reaction score
8
Homework Statement
Integrate ##\frac{1}{\sqrt{x^2-49}}dx##
Relevant Equations
Trig sub, secant.
I was doing a practice quiz and got the following integral:

##\int \frac{1}{\sqrt{x^2-49}}dx##

Following normal trig sub. Using ##b^2 = c^2 - a^2## we find ##\sec{\theta} = \frac{x}{5}## and so ##x = 5\sec{\theta}## and ##dx = 5\sec{\theta}\tan{\theta}d\theta##

Then

## \int \frac{1}{\sqrt{x^2-49}}dx = 5 \int \frac{\sec{\theta}\tan{\theta}d\theta}{\tan{\theta}}##

Then after simplification:

##\int \sec{\theta}d\theta = ln|\sec{\theta} + \tan{\theta}| + C##

and solving for theta using the triangle:

## ln|\frac{x}{7} + \frac{\sqrt{x^2-49}}{7}| + C ##

The autograder marked me wrong. The correct answer was:

##ln|\frac{1}{7}(\sqrt{x^2-49} + x)| + C##

Which looks to be the same to me. I cannot see the difference. Even the plots look the same. I must be forgetting a property of logs that makes these distinct. Can you help me?
 
Physics news on Phys.org
I'm assuming an autograder is some software? If so, its answer looks neater to me, but the answers are clearly equivalent.
 
Some autograders are just ... sub-par ...
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
28
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
6K
Replies
3
Views
2K