<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shrirang Bhadgaonkar on Medium]]></title>
        <description><![CDATA[Stories by Shrirang Bhadgaonkar on Medium]]></description>
        <link>https://medium.com/@shribhadgaonkar?source=rss-5b7e415c77c6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bGWbi-ecaF3nSEjJ</url>
            <title>Stories by Shrirang Bhadgaonkar on Medium</title>
            <link>https://medium.com/@shribhadgaonkar?source=rss-5b7e415c77c6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 22:31:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shribhadgaonkar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Mastering Calculus Is Essential for your AI and ML Journey]]></title>
            <link>https://medium.com/@shribhadgaonkar/why-mastering-calculus-is-essential-for-your-ai-and-ml-journey-a73b895311da?source=rss-5b7e415c77c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a73b895311da</guid>
            <category><![CDATA[ai-education]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[calculus]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Shrirang Bhadgaonkar]]></dc:creator>
            <pubDate>Thu, 17 Jul 2025 01:44:14 GMT</pubDate>
            <atom:updated>2025-07-17T01:44:14.971Z</atom:updated>
            <content:encoded><![CDATA[<p>Calculus has always been complicated. Many of us, including me, have always been afraid of it in school — but now, I am not. Why has this changed? Because I am in dire need of solving problems. I am working on something, and I’m discovering what calculus has to offer us.</p><h4>Reconnecting with Calculus After 15 Years</h4><p>Recently, after 15 years of completing my college education, I revisited my calculus knowledge. I am learning AI and ML, and I’ve always wondered how ML algorithms solve problems — and all the roots lie in calculus. This gave me a new perspective on learning again. But this time, I learned in a different way. When I was studying it in school, we did not have access to quick internet tools to visualize equations and solutions. Today, I used quite a few online tools that helped me visualize how an equation looks, and how the maxima and minima of the equation behave. I was able to visualize the derivative and integration functions, which I felt was really cool. I used a free online platform, <a href="https://www.desmos.com/calculator">desmos.com/calculator</a>, which helped me visualize what I was actually learning — essentially, this is what learning means. If I’m not able to visualize what I’m learning, then the whole process is a waste or shallow learning. I really appreciate the creators of this tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e-2R-l8xmZgy-N2uIy1sUg.png" /></figure><p>Now, coming back to the question: why learn calculus before you start your AI and ML journey? Calculus shows us behaviors that we need to understand in order to design better models or figure out when certain events will occur. In AI and ML, algorithms build models that are essentially complex functions designed to learn patterns and make predictions from data. These models — such as neural networks, deep learning architectures, or regression models — are nothing but mathematical functions that map input data to output predictions.</p><h4>Why Calculus Matters in AI and ML</h4><p>Another aspect of calculus, through derivatives, is finding the maximum or minimum value of a function over a given interval. This is very crucial for optimization problems, such as minimizing a cost function. For example, during training of a machine learning model, the goal is to minimize the loss function. This loss function tells us how well a model is performing. To minimize the loss, algorithms like gradient descent leverage the derivative, which represents the rate of change of a function. The gradient — which is also called a multidimensional derivative — tells the algorithm the direction of the steepest ascent or descent of the loss function. By iteratively adjusting the model’s parameters, such as weights and biases in a neural network, in the direction opposite to the gradient, the algorithm moves toward the local or global minimum of the loss function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dZsUeqMC6Bqk_LkCWbvfBg.png" /></figure><h4>Derivatives: The Heart of Optimization</h4><p>Derivatives also provide information about a function — whether it is increasing or decreasing, or how the function is changing. AI and ML algorithms continuously evaluate the “rate of change” of the loss function to assess its current behavior. If the gradient is large, it means the loss is changing rapidly, and the algorithm makes bigger steps. If the gradient is small, it is approaching a flatter region. When the gradient is zero, this indicates the algorithm has converged — meaning it has reached a solution. The shape of the loss can often be calculated from higher-order derivatives. This shape allows researchers to design more efficient and robust optimization algorithms that converge faster and lead to better solutions, resulting in faster and more accurate learning.</p><h4>The Chain Rule: Backpropagation’s Best Friend</h4><p>The chain rule is an important rule that allows us to calculate dy/dx of a complicated function directly. It is an invaluable tool for calculating the derivative of products or nested functions. This is achieved by making substitutions to transform a complex function into one that is easier to differentiate. In AI, a deep neural network consists of multiple layers, where the output of one layer’s computation is the input to the next layer. The process by which a neural network learns is called backpropagation. This process relies heavily on the chain rule to efficiently calculate the gradient (multidimensional derivative) of the loss function with respect to each parameter in every layer of the network. Because the loss function is now a composite function of all the nested operations, the chain rule allows us to calculate how much a change in a weight in an early layer contributes to the change in the final loss. The chain rule enables this by propagating the gradient backward through the network, starting from the output and moving toward the input layers. Without the chain rule, computing gradients would be impossible for deep networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bmfYNsenbbGdD5Bt2_RTkg.png" /></figure><h4>Integration in AI: The Silent Force Behind Intelligence</h4><p>While derivative concepts are highly praised in AI and ML, integration concepts are equally important and have been used for calculating PDFs (Probability Distribution Functions) and CDFs (Cumulative Distribution Functions). Integration also has unique applications — especially in audio processing, image processing, and time series analysis. It can be used for tasks like smoothing data, which removes fluctuations over time. It is also used for transforming signals between time and frequency domains.</p><h4>Final Thoughts</h4><p>With all the above examples, I want to emphasize: start by revising calculus concepts before diving into AI and ML.</p><blockquote>Calculus isn’t just academic — it’s the foundation of the intelligence we’re trying to build.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a73b895311da" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>